package com.start.oss.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.start.common.entity.StartBaseEntity;
import com.start.oss.OssAccessType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("start_sys_oss")
public class StartSysOssEntity extends StartBaseEntity {
    @Schema(name = "对象名称")
    private String ossName;
    @Schema(name = "对象原始名称")
    private String ossSrcName;
    @Schema(name = "对象本地路径")
    private String ossLocalPath;
    @Schema(name = "存储器类型")
    private String ossStorageType;
    @Schema(name = "对象类型")
    private String ossType;
    @Schema(name = "对象访问地址")
    private String ossUrl;
    @Schema(name = "对象唯一编码")
    private String ossUniqueCode;
    @Schema(name = "对象大小")
    private Long ossSize;
    @Schema(name = "文件mimeType")
    private String ossMimeType;
    @Schema(name = "权限类型")
    private OssAccessType ossAccessType;
    @Schema(name = "是否自动命名")
    private boolean ossAutoRename;
}
